<?php
$tm = $_GET['tm'];
$da = json_decode($tm,true);
$data=array('csm'=>"测试你的智力",'dfjs'=>"你的答案：",'df'=>null,'bq1' =>null,'bq2'=>null,'bq3'=>null,'bq4'=>null,'bq5'=>null,'ztpj'=>null);
   switch ($da[0]){
       case A:$data[df]="1-3张";$data[ztpj]="你的智力有点偏低！";break;
       case B:$data[df]="4-6张";$data[ztpj]="你的智力属于正常人的水平！";break;
       case C:$data[df]="7-10张";$data[ztpj]="你的智力水平超与常人！";break;
       case D:$data[df]="11-15张";$data[ztpj]="你就是个天才！";break;
   }
echo json_encode($data,JSON_UNESCAPED_UNICODE);
?>